#pragma once

#include "scubserver.h"
#include "Method.h"
#include<vector>

struct ScopePrinter:
    public Scubserver
{
private:
	int m_nIndent;
	int m_nLineNumber;

private:
    void onEntryParen(Scope& inOldScope);
	void tabify();

public:
    virtual void onNewToken(Scope& inScope, Token& inToken);
    virtual void onScopeEntry(Scope& inNewScope, Scope& inOldScope);
    virtual void onScopeExit(Scope& inNewScope, Scope& inOldScope);
	virtual void setScope(Scope& inScope)
	{
	}
    ScopePrinter(void);
    ~ScopePrinter(void);
};
